/*
 * taken from
 * http://www.puttputt.ca/?p=528
 */ 
$.fn.kshide = function() {
  return this.each(function() {
  var obj = $(this);
  var link = obj.children("a");
  var list = obj.children("ul");
    list.hide();
    link.toggle(
  function() {
    $(list).show("fast");
  },
  function() {
    $(list).hide("fast");
  });
  });
}
$(document).ready(function(){
  $('.tog').kshide()
});
